package com.zc.hadoop.lzmh.log;

public class MyInt implements Comparable<MyInt> {
	private int value;
	
	/**
	 * 比较
	 */
	@Override
	public int compareTo(MyInt o) {
		int thisValue = this.value;
	    int thatValue = o.value;
	    return (thisValue<=thatValue ? -1 : 1);
	}
	
	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public MyInt(int value) {
		super();
		this.value = value;
	}
	
	
}
